# For all other servers: Comment out the Log4J listener in web.xml to activate Log4J.
log4j.rootLogger=INFO, stdout, logfile

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n

log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=${catalina.home}/logs/poc.log
log4j.appender.logfile.MaxFileSize=1MB
log4j.appender.logfile.MaxBackupIndex=20
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%t %d %p [%c] - %m%n


log4j.appender.logDailyFolderFile=org.echoice.log4j.DailyFolderRollingFileAppender
log4j.appender.logDailyFolderFile.bathPath=d\:\\logs\\hnccm
log4j.appender.logDailyFolderFile.fileShortName=hnccm.log
log4j.appender.logDailyFolderFile.MaxFileSize=2MB
log4j.appender.logDailyFolderFile.MaxBackupIndex=10
log4j.appender.logDailyFolderFile.DatePattern=yyyy-MM-dd
#type,1:year;2:month,3:day,-1:one folder
log4j.appender.logDailyFolderFile.type=2
log4j.appender.logDailyFolderFile.layout=org.apache.log4j.PatternLayout
log4j.appender.logDailyFolderFile.layout.ConversionPattern=%t %d %p [%c] - %m%n